a = 100
b = 150
c = float(a) + float(b)
print('数字求和为： %d' % c)


import math


print(math.sin(3))
print(math.hypot(3,4))
print(math.sqrt(6))
print(math.pow(2,8))

f1 = 1.23
print("f1: ", f1)
print("f1Type:",type(f1))
f2 = 1243.987654321
print("f2: ", f2)
print("f2Type: ", type(f2))

f3 = 1.2e5
print("f3:",f3)
print("f3Type:",type(f3))
f4 = 1.23 * 0.1
print("f4:",f4)
print("f4Type:",type(f4))


b1 = True
b2 = False
print(b1,b2)
print(type(b1))
print(type(b2))


print(bin(60))
print(oct(60))
print(hex(60))

print(int(6.8))
print(float(6))
print(str(60))

a = 2
b = 11
print(a + b)
print(a - b)
print(a * b)
print(a / b)
print(a // b)
print(a % b)
print(a ** b)

a = 8
a += 2
print(a)
a -= 2
print(a)
a *= 2
print(a)
a /= 2
print(a)

a = 2
b = 11
print(a == b)
print(a != b)
print(a > b)
print(a < b)
print(a >= b)
print(a <= b)

print(True and False)
print(True and True)
print(True or False)
print(not False)
 
str1 = 'hello'
print('h' in str1)
print('a' in str1)
print('c' not in str1)
print('o' not in str1)